package com.bstek.demo.urule.cluster.mq;

import java.io.Serializable;

public class MsgObject implements Serializable {
    private String systemId;
    private String groupId;
    private String projectId;
    private String packetId;
    private String packetCode;
    private String messageType;

    public  MsgObject(){

    }

    /**
     *
     * @param systemId 应用程序id标识
     * @param groupId   团队id
     * @param projectId 项目id
     * @param packetId  知识包id
     * @param packetCode    知识包编号
     */
    public MsgObject(String systemId, String groupId, String projectId, String packetId, String packetCode) {
        this.systemId = systemId;
        this.groupId = groupId;
        this.projectId = projectId;
        this.packetId = packetId;
        this.packetCode = packetCode;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getSystemId() {
        return systemId;
    }

    public void setSystemId(String systemId) {
        this.systemId = systemId;
    }

    public String getPacketId() {
        return packetId;
    }

    public void setPacketId(String packetId) {
        this.packetId = packetId;
    }

    public String getPacketCode() {
        return packetCode;
    }

    public void setPacketCode(String packetCode) {
        this.packetCode = packetCode;
    }

    public String getMessageType() {
        return messageType;
    }

    public void setMessageType(String messageType) {
        this.messageType = messageType;
    }

    @Override
    public String toString() {
        return "MsgObject{" +
                "groupId='" + groupId + '\'' +
                ", systemId='" + systemId + '\'' +
                ", packetId='" + packetId + '\'' +
                ", packetCode='" + packetCode + '\'' +
                ", messageType='" + messageType + '\'' +
                '}';
    }
}
